<template>
  <view class="padding flex flex-direction">
    <button type="warn">默认</button>
    <button class="cu-btn btn-bg-red margin-tb-sm lg" @click="toBase()">嫣红</button>
  </view>
</template>

<script>
  export default {
    data() {
      return {
        title: 'Hello'
      }
    },
    onLoad() {

    },
    methods: {
      toBase(){
        uni.navigateTo({
          url: '/pages/basics/home'
        })
      }
    }
  }
</script>

<style>
</style>